package com.hp.mapper;

import com.hp.entity.Announcement;

import java.util.List;

public interface AnnouncementMapper {

    List<Announcement> list(Announcement announcement);

    int add(Announcement announcement);

    int del(Integer id);

    Announcement findById(Integer id);

    int update(Announcement announcement);

}
